<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>示例</title>
		<script src="JQuery/jquery-1.8.3.js"></script>
	</head>
	<body>
		<input type="button" value="按钮" />
	</body>
	<script>
		$(document).ready(function(){
			$('input[type="button"]').click(function() {
				alert('hi，你好');
			});
		});
	</script> 
</html>